body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
}

.menu {
  width: 150px;
  height: 100;
  position: relative;
  float: left;
}

.content {
  margin-right: 150px;
  height: 100vh;
  color: white;
  padding-top: 40px;
  padding-left: 20px;
}

.btn {
  display: none;
}

.btn-icon {
  position: absolute;
  top: 40px;
  right: 30px;
  display: block;
  width: 30px;
  height: 20px;
  line-height: 30px;
  border-top: 5px white solid;
  border-bottom: 5px white solid;
  cursor: pointer;
  z-index: 3;
}

.btn-icon::before {
  content: '';
  width: 100%;
  height: 5px;
  position: absolute;
  top: 8px;
}

.btn:checked ~ .btn-icon {
  border: 0px;
}

.btn:checked ~ .btn-icon::before {
  color: black;
  content: 'x';
  font-size: 40px;
  font-weight: bold;
  line-height: 40px;
  position: absolute;
  top: 0px;
}

.list {
  width: 300px;
  height: 300px;
  background-color: white;
  position: absolute;
  top: 0;
  left: -300px;
  float: left;
  z-index: 2;
  transition: all 0.3s ease-in-out;
}

ul {
  list-style: none;
  margin-top: 70px;
}
li {
  list-style: none;
  height: 30px;
  font-size: 20px;
  line-height: 20px;
}

li a {
  display: block;
  margin: 10px 0;
}

.btn:checked ~ .list {
  left: 0;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: orange;
}